package com.translate.web.service;
import com.translate.entity.Manuscript;
import com.translate.web.param.contract.IIdAndUserIdParam;
import com.translate.web.param.contract.IManuscriptAddParam;
import com.translate.web.param.contract.ISecondaryServiceParam;

public interface IManuscriptService extends IBaseTranslateService<Manuscript> { 
	
	/**
	 * 二次服务
	 * @param <M>
	 * @param service
	 * @return
	 */
	<M extends IManuscriptAddParam> int  secondaryService(
			ISecondaryServiceParam<M> service,
			int payManagerId,
			int logId
	);
	
	/**
     * 取消二次服务
     * @param userIdParam
     * @return
     */
	int cancelSecondaryService(IIdAndUserIdParam userIdParam, int logId, int status);
}
